Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.ecm.diff.content.restAPI.contrib--restlets

This contribution is part of XML component org.nuxeo.ecm.diff.content.restAPI.contrib inside nuxeo-diff-content-6.0.jar

Documentation

GET /nuxeo/restAPI/contentDiff/{repo}/{leftDocId}/{rightDocId}/{fieldXPath}/{subPath}?conversionType=(conversionType)&locale={locale}

Extension Point

Extension point restlets of component PluggableRestletService.

Contributed Items

  • <restletPlugin class="org.nuxeo.ecm.diff.content.restlet.ContentDiffRestlet" enabled="true" name="contentDiff" useSeam="true">
          <urlPatterns>
            <urlPattern>/contentDiff/{repo}/{leftDocId}/{rightDocId}/{fieldXPath}/
            </urlPattern>
            <urlPattern>/contentDiff/{repo}/{leftDocId}/{rightDocId}/{fieldXPath}/{subPath}
            </urlPattern>
          </urlPatterns>
        </restletPlugin>

XML Source

<extension point="restlets" target="org.nuxeo.ecm.platform.ui.web.restAPI.service.PluggableRestletService">

    <documentation>
      GET
      /nuxeo/restAPI/contentDiff/{repo}/{leftDocId}/{rightDocId}/{fieldXPath}/{subPath}?conversionType=(conversionType)&amp;locale={locale}
    </documentation>

    <restletPlugin class="org.nuxeo.ecm.diff.content.restlet.ContentDiffRestlet" enabled="true" name="contentDiff" useSeam="true">
      <urlPatterns>
        <urlPattern>/contentDiff/{repo}/{leftDocId}/{rightDocId}/{fieldXPath}/
        </urlPattern>
        <urlPattern>/contentDiff/{repo}/{leftDocId}/{rightDocId}/{fieldXPath}/{subPath}
        </urlPattern>
      </urlPatterns>
    </restletPlugin>
  </extension>